﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<NETMovie.UI.WebMVC.Models.MovieModel>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Add Movie Result
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <h2>MovieDetails</h2>

 <% Html.RenderPartial("ViewMovieBasicInfo" ,Model); %>
    
   
   <% using(Html.BeginForm())
      { %>
       <%: Html.ValidationSummary(false, "Movie rental was unsuccessful. Please correct the errors and try again.") %>
    <p>
      <%: Html.HiddenFor(m => m.MovieId) %>
     
        <%: Html.ActionLink("Rent", "RentMovie", "Rental", new {id=Model.MovieId }, null) %> |
        <%: Html.ActionLink("Back to Search Result List", "BrowseMovie") %>
    
    </p>

    <% } %>

</asp:Content>